package com.southwind.phone_store_demohd.repository;


import com.southwind.phone_store_demohd.entity.PhoneSpecs;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PhoneSpecsRepository extends JpaRepository<PhoneSpecs,Integer> {

    //根据phoneId字段（商品详情）查找对应的规格
    public List<PhoneSpecs> findAllByPhoneId(Integer phoneId);
}
